package com.itwk.gulimall.ware.feign;

import com.itwk.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: wangke
 * @Date: 2021/01/21/下午 5:30
 * @Description:
 */
@FeignClient("gulimall-gateway")
public interface SkuInfoFeign {

    @RequestMapping("/api/product/skuinfo/info/{skuId}")
    //  @RequiresPermissions("product:pmsskuinfo:info")
    public R info(@PathVariable("skuId") Long skuId);
}
